package org.puremvc.as3.multicore.interfaces
{
	import org.puremvc.as3.multicore.core.MessagingConnector;
	
	
	public interface IMessaging
	{
		/**
		 * Sends a message to the world outside.
		 */
		function send(message:IMessage):void;
		
		/**
		 * receives a message from the world outside.
		 */
		function receive(message:IMessage):void;
		
		/**
		 * sets the message bus
		 */
		function messagingConnector(callback:MessagingConnector):void;
	}
}